selectSentence

public static EditorCommand selectSentence()

Returns a command that allows selecting the whole sentence at the caret position in a text area or a WYSIWYG editor.